<h2>Login</h2>
<%= form_tag :action=>"login" %>

<% if flash[:notice] %>
  <div id="errorExplanation"><h2><%= flash[:notice] %></h2></div>
<% end %>

<div id="login">
  <div id="login_password">
  	<label for="user_login">Login</label>
  	<%= text_field :user, :login, :size=>"20" %>
  	<label for="user_password">Password</label>
  	<%= password_field :user, :password, :size=>"20" %>
  </div>
	<label>&nbsp;</label>
	<%= submit_tag 'Login' %>&nbsp;&nbsp;&nbsp;&nbsp;
  <%= link_to "Cancel", :controller=>"gallery", :action=>"list" %>
</div>

<%= end_form_tag %>
